﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LabyCLI.Commands
{
    class cmd_echo
    {
        Terminal frm = Terminal.Instance;

        public void Main(List<string> args)
        {
            foreach (string arg in args)
            {
                Terminal.WriteLine(Environment.ExpandEnvironmentVariables(arg) + Environment.NewLine);
            }
        }

        public void Main()
        {
            Terminal.WriteLine("Invaild amount of arguments." + Environment.NewLine, Properties.Settings.Default.Terminal_ErrorForeColor);
        }
    }
}
